package com.atguigu.jxc.service;


import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.Goods;
import com.atguigu.jxc.entity.GoodsType;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface GoodsService extends IService<Goods> {
    IPage<Goods>  listInventory(Page<Goods> page, String codeOrName, Integer goodsTypeId);

    IPage<Goods> list(Page<Goods> goodsPage, String goodsName, Integer goodsTypeId);

    ServiceVO saveGoods(Goods goods);

    ServiceVO deleteGoods(Integer goodsId);
}
